class CVE:
    def __init__(self, cve_id, mainline_commitId, stable_commitId, title, fixes_commitId, cve_url, all_match_text):
        self.cve_id = cve_id
        # 以下信息均来自社区，可能为空
        self.mainline_commitId = mainline_commitId
        self.stable_commitId = stable_commitId #5.10
        self.title = title
        self.fixes_commitId = fixes_commitId
        self.cve_url = cve_url
        self.all_match_text = all_match_text
    def __str__(self) -> str:
        return f'cve_id: {self.cve_id}, mainline_commitId: {self.mainline_commitId}, stable_commitId: {self.stable_commitId}, title: {self.title}, fixes_commitId: {self.fixes_commitId}, cve_url: {self.cve_url}, all_match_text: {self.all_match_text}'